package org.spiderflow.core.utils;

import groovy.util.logging.Slf4j;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

@Slf4j
public class LogHelper {

    private static final Logger log = LoggerFactory.getLogger(LogHelper.class);

    public static void info(String msg) {
        log.info(msg);
    }

    public static void info(String format, Object... args) {
        log.info(format, args);
    }


    public static void warn(String msg) {
        log.warn(msg);
    }

    public static void warn(String format, Object... args) {
        log.warn(format, args);
    }

    public static void error(String msg) {
        log.error(msg);
    }

    public static void error(String format, Object... args) {
        log.error(format, args);
    }
}
